package com.ruoyi.equipment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备钥匙对象 fz_equipment_key
 * 
 * @author ruoyi
 * @date 2020-03-22
 */
public class FzEquipmentKey extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 钥匙id */
    private String keyId;

    /** 小区id */
    @Excel(name = "小区id")
    private String cId;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Integer userType;

    /** 钥匙类型 */
    @Excel(name = "钥匙类型")
    private Integer keyType;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 设备id */
    @Excel(name = "设备id")
    private String equipmentId;

    /** 状态 */
    @Excel(name = "状态")
    private Long stateType;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String statusCd;

    public void setKeyId(String keyId) 
    {
        this.keyId = keyId;
    }

    public String getKeyId() 
    {
        return keyId;
    }
    public void setcId(String cId) 
    {
        this.cId = cId;
    }

    public String getcId() 
    {
        return cId;
    }
    public void setUserType(Integer userType) 
    {
        this.userType = userType;
    }

    public Integer getUserType() 
    {
        return userType;
    }
    public void setKeyType(Integer keyType) 
    {
        this.keyType = keyType;
    }

    public Integer getKeyType() 
    {
        return keyType;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setEquipmentId(String equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId() 
    {
        return equipmentId;
    }
    public void setStateType(Long stateType) 
    {
        this.stateType = stateType;
    }

    public Long getStateType() 
    {
        return stateType;
    }
    public void setStatusCd(String statusCd) 
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd() 
    {
        return statusCd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("keyId", getKeyId())
            .append("cId", getcId())
            .append("userType", getUserType())
            .append("keyType", getKeyType())
            .append("userId", getUserId())
            .append("equipmentId", getEquipmentId())
            .append("stateType", getStateType())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("statusCd", getStatusCd())
            .toString();
    }
}
